#include <stdio.h>
#include <sys/types.h> 
#include <sys/socket.h>
#include <netinet/in.h>
#include <string.h>
#include <stdlib.h>
#include <fcntl.h> 
#include <unistd.h>
#include <signal.h>



typedef struct Header
{
	off_t len;
	char *response,
		*date,
		*connection,
		*content_type;
}Header;

void respond(int); /* function prototype */
void error(char *);
void handler(int);
char* make_response(char *, Header* );
